package com.ruoyi.contract.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同类别对象 contract_category
 * 
 * @author ruoyi
 * @date 2024-10-18
 */
public class ContractCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contractCategoryId;

    /** 合同所属公司id */
    @Excel(name = "合同所属公司id")
    private Long belongingCompanyId;

    /** 合同类别名称 */
    @Excel(name = "合同类别名称")
    private String name;

    /** 状态（停用/启用） */
    @Excel(name = "状态", readConverterExp = "停=用/启用")
    private String state;

    public void setContractCategoryId(Long contractCategoryId) 
    {
        this.contractCategoryId = contractCategoryId;
    }

    public Long getContractCategoryId() 
    {
        return contractCategoryId;
    }
    public void setBelongingCompanyId(Long belongingCompanyId) 
    {
        this.belongingCompanyId = belongingCompanyId;
    }

    public Long getBelongingCompanyId() 
    {
        return belongingCompanyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractCategoryId", getContractCategoryId())
            .append("belongingCompanyId", getBelongingCompanyId())
            .append("name", getName())
            .append("state", getState())
            .append("remark", getRemark())
            .toString();
    }
}
